﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogic;

namespace Ticket_Help_Desk
{
    public partial class PruebaBD : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnGuardar_Click(object sender, EventArgs e)
        {
            Supervisor unSup = new Supervisor();
            unSup.NroFuncionario = long.Parse(txtNro.Text);
            unSup.Nombre = txtNombre.Text;
            unSup.Apellido = txtApellido.Text;
            unSup.Telefono = txtTel.Text;
            unSup.Interno = txtInt.Text;
            unSup.Seccion = txtSeccion.Text;
            unSup.Contrasenia = txtCont.Text;
            unSup.addSupervisor(unSup);
        }

        
    }
}